package com.db.concurrency.tracker;

/**
 * @author Alexander Kotov (kotov.alex.22@gmail.com)
 */
public class MutablePoint {
    public int x;
    public int y;

    public MutablePoint(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public MutablePoint(MutablePoint p) {
        x = p.x;
        y = p.y;
    }

    @Override
    public String toString() {
        return "ImmutablePoint{" +
                "x=" + x +
                ", y=" + y +
                '}';
    }
}

